import React, {Component} from 'react';

import './index.less';

import {base} from 'nc-lightapp-front';

const {
    NCModal
} = base;

const {
    Header: ModalHeader,
    Body: ModalBody,
    Footer: ModalFooter
} = NCModal;

class AddKeyPsnModal extends Component {
    constructor(props) {
        super(props);

        this.closeModal = this.closeModal.bind(this);
    }

    closeModal() {
        this.props.updateState({
            showAddModal: false
        });
    }

    render() {
        const {
            visible
        } = this.props;

        return (
            <NCModal
                show={visible}
                onHide={this.closeModal}
            >
                <ModalHeader
                    closeButton={true}
                >
                    
                </ModalHeader>
            </NCModal>
        );
    }
}

export default AddKeyPsnModal;